package com.joey.cloud.flowable;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import com.joey.cloud.annotation.EnableJoeAnnotation;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@EnableSwaggerBootstrapUI
@MapperScan("com.joey.cloud.flowable.*.mapper")
@ComponentScan({"com.joey.cloud"})
@EnableFeignClients(basePackages = "com.joey.cloud.provider")
@EnableJoeAnnotation
@EnableCaching
public class FlowableApplication {
    public static void main(String[] args) {
        SpringApplication.run(FlowableApplication.class, args);
    }
}
